﻿<%@ Import Namespace="Ornament.Util.NHibernateHelper" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="RuntimeSetting.ascx.cs"
    Inherits="Admin_System_Controls_NhibernateControls_RuntimeSetting" %>
<p>
    <asp:Label ID="label1" runat="server" Text="Sql Command Timeout:" AssociatedControlID="TimeoutTextBox"></asp:Label>
    <asp:TextBox  ID="TimeoutTextBox" runat="server" Width="30" MaxLength="3"></asp:TextBox>
    <asp:RequiredFieldValidator ID="ruquireFieldTimeout" ErrorMessage="Please input Sql Command Time "
        ControlToValidate="TimeoutTextBox" runat="server"></asp:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator" runat="server" ErrorMessage="please input number"
        ControlToValidate="TimeoutTextBox" ValidationExpression="\d*"></asp:RegularExpressionValidator>
</p>
<p>
    <asp:CheckBox ID="UseOuterJoinCheckBox" Text="Use Outer Join:" runat="server" TextAlign="Left" />
</p>
<p>
    <label>
        BatchSize:</label><asp:TextBox  runat="server" ID="BatchSizeTextBox" Width="15px"
            MaxLength="2" />
    <asp:RegularExpressionValidator ID="BatchSizeValidator" runat="server" ControlToValidate="BatchSizeTextBox"
        ErrorMessage="Please input number" ValidationExpression="\d*">
    </asp:RegularExpressionValidator>
    <asp:RequiredFieldValidator ID="RequiredFieldBatchSize" runat="server" ControlToValidate="BatchSizeTextBox"
        ErrorMessage="Please input NHibernate Batch Size">    
    </asp:RequiredFieldValidator>
</p>
<p>

    <label>
    
        Isolation Level</label>
    <asp:DropDownList ID="IsoLevelDropDownList" runat="server" OnInit="InitIsolationLevel">
    </asp:DropDownList>
</p>
